package com.platform.dao;

import com.platform.entity.ProductEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Dao
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-30 14:31:21
 */
public interface ProductDao extends BaseDao<ProductEntity> {

    int querySameGoodsSpecification(@Param("goodsId") Integer goodsId, @Param("goodsSpecificationIds") String goodsSpecificationIds);

    List<ProductEntity> queryListByGoodsId(Integer goodsId);

}
